package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 公司部门管理视图对象 sys_company
 *
 * @author zyb
 * @date 2024-12-03
 */
@Data
@ExcelIgnoreUnannotated
public class SysCompanyVo {

    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     */
    @ExcelProperty(value = "部门id")
    private Long companyId;

    /**
     * 父部门id
     */
    @ExcelProperty(value = "父部门id")
    private Long parentId;

    /**
     * 部门名称
     */
    @ExcelProperty(value = "部门名称")
    private String companyName;

    /**
     * 祖级列表
     */
    private String ancestors;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String phone;

    /**
     * 显示顺序
     */
    private Long orderNum;

    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱")
    private String email;

    /**
     * 部门状态（0正常 1停用）
     */
    @ExcelProperty(value = "部门状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;


}
